<?php

class Application_Form_Auth_Login extends Zend_Form{
	public function init()
	{
		$this->setMethod('post');

		$this->addElement(
			'text', 'username', array(
				'label' => 'Username:',
				'required' => true,
				'filters'    => array('StringTrim'),
			));

		$this->addElement('password', 'password', array(
			'label' => 'Passwort:',
			'required' => true,
			));

		$this->addElement('submit', 'submit', array(
			'ignore'   => true,
			'label'    => 'Login',
			));

		$this->addElement('submit', 'logout', array(
			'ignore'   => true,
			'label'    => 'Logout',
		));

	}
}